﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using JULONG.WEB.Library;

namespace DFYE.Web.Models
{
    public static class staticClass
    {
        public static string tryHTMLSubstring(this string obj,int start,int end){
            string o = obj.reHtmlCode();
            if (start >= o.Length) {
                return "";
            }
            if (end >= o.Length) {
                end = o.Length;
            }
            return o.Substring(start, end);
        }
    }
}